package com.book.common.api.oauth;

/**
 * Description：
 * @Author： leo.xiong
 * @CreateDate： 2019/10/21 13:53
 * @Email： leo.xiong@suyun360.com
 * Version：1.0
 */
public interface CacheKey {
    /**
     * oauth的client;
     */
    String OAUTH_CLIENT = "oauth:client:";
    /**
     * 编码之后的client
     */
    String OAUTH_CLIENT_ENCODER = "oauth:client:encoder:";

    String OAUTH_LOGIN_NAME = "oauth:login:name:";

    String PUBLIC_LOGIN_NAME = "public:login:name:";

    String PUBLIC_USER_TOKEN = "public:user:token:";

    String PUBLIC_USER_ID = "public:user:id:";

    String PUBLIC_ROLE_TOKEN = "public:role:token:";

    String PUBLIC_MENU_TOKEN = "public:menu:token:";

    String PUBLIC_RESOURCE_TOKEN = "public:resource:token:";

    String PUBLIC_PERMISSION_TOKEN = "public:permission:token:";
}
